#include <stdio.h>

int main(int argc, char **argv)
{
	int areas[] = {10, 12, 13, 14, 20};
	char name[] = "Zed";
	char full_name[] = {
		'Z', 'e', 'd',
		' ', 'A', '.', ' ',
		'S','h','a','w','\0'
	};
	char full_name_valgrind[] = {
		'Z', 'e', 'd',
		' ', 'A', '.', ' ',
		'S','h','a','w'//,'\0'
	};
	
	printf("size of an int: %ld\n", sizeof(int));
	printf("size of areas: %ld\n", sizeof(areas));
	printf("number of ints in areas: %ld\n", sizeof(areas)/sizeof(int));
	printf("areas[0]: %d, areas[1]: %d\n", areas[0], areas[1]);
	
	printf("size of a char: %ld\n", sizeof(char));
	printf("size of name: %ld\n", sizeof(name));
	printf("number of chars in name: %ld\n", sizeof(name)/sizeof(char));
	
	printf("size of full_name: %ld\n", sizeof(full_name));
	printf("number of chars in full_name: %ld\n", sizeof(full_name)/sizeof(char));
	
	printf("name=\"%s\" and full_name=\"%s\"\n", name, full_name);
	printf("name=\"%s\" and full_name=\"%s\"\n", name, full_name_valgrind);
	
	return 0;
}